home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16486 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: solon.com!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c,comp.lang.c.moderated,comp.lang.c++
  4. Subject: Re: Is C/C++ convertor available ???
  5. Date: 10 Apr 1996 20:03:55 -0500
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4khlpr$t5g@solutions.solon.com>
  10. References: <4k5vt7$a3c@solutions.solon.com> <4kcmib$ova@solutions.solon.com> <4kg88m$ig8@solutions.solon.com>
  11. NNTP-Posting-Host: solutions.solon.com
  12.  
  13. In article <4kg88m$ig8@solutions.solon.com>,
  14. William O'Hara <ohara@tiac.ent> wrote:
  15. >>You heard wrong. g++ is a C++ compiler, not a C++ to C 
  16. >translator, and it has
  17. >>no such option.
  18. >
  19. >    I DO NOT use gcc.  Yet I wouldn't doubt that 
  20. >there was a feature.. After all C++ is an extension to
  21.  
  22. You can doubt or not doubt all you want, but as far as other people are
  23. concerned, the feature is NOT there.
  24.  
  25. >C which is theortically an extension to itself. :) 
  26. >Classes and such all boil down to structures.. Don't
  27. >ever get the idea that C++ is its own language. It goes
  28. >through a tier of translation before compilation. 
  29.  
  30. This, of course, is pure nonsense.
  31.  
  32. The way we may feel about the worth of C++ doesn't change the fact that: 1) it
  33. is a language in its own right, and 2) g++ does _not_ translate C++ to C. It is
  34. a compiler for the C++ language.
  35.  
  36. Just because C++ _can_ be translated to C doesn't mean that it bears any
  37. relation to C. Pascal can also be translated into C.
  38.  
  39. Ada can be translated into machine code. Does that mean that Ada is not its
  40. own language but an extension of machine language?
  41. -- 
  42.